package cn.iocoder.an.module.business.service.equipmentcheckrecorddetail;

import java.util.*;
import jakarta.validation.*;
import cn.iocoder.an.module.business.controller.admin.equipmentcheckrecorddetail.vo.*;
import cn.iocoder.an.module.business.dal.dataobject.equipmentcheckrecorddetail.EquipmentCheckRecordDetailDO;
import cn.iocoder.an.framework.common.pojo.PageResult;
import cn.iocoder.an.framework.common.pojo.PageParam;

/**
 * 点检记录明细 Service 接口
 *
 * @author zzy
 */
public interface EquipmentCheckRecordDetailService {

    /**
     * 创建点检记录明细
     *
     * @param createReqVO 创建信息
     * @return 编号
     */
    Long createEquipmentCheckRecordDetail(@Valid EquipmentCheckRecordDetailSaveReqVO createReqVO);

    /**
     * 更新点检记录明细
     *
     * @param updateReqVO 更新信息
     */
    void updateEquipmentCheckRecordDetail(@Valid EquipmentCheckRecordDetailSaveReqVO updateReqVO);

    /**
     * 删除点检记录明细
     *
     * @param id 编号
     */
    void deleteEquipmentCheckRecordDetail(Long id);

    /**
    * 批量删除点检记录明细
    *
    * @param ids 编号
    */
    void deleteEquipmentCheckRecordDetailListByIds(List<Long> ids);

    /**
     * 获得点检记录明细
     *
     * @param id 编号
     * @return 点检记录明细
     */
    EquipmentCheckRecordDetailDO getEquipmentCheckRecordDetail(Long id);

    /**
     * 获得点检记录明细分页
     *
     * @param pageReqVO 分页查询
     * @return 点检记录明细分页
     */
    PageResult<EquipmentCheckRecordDetailDO> getEquipmentCheckRecordDetailPage(EquipmentCheckRecordDetailPageReqVO pageReqVO);

}